package com.gexiaobao.pigeon.app.model.bean

import android.os.Parcelable
import kotlinx.parcelize.Parcelize

/**
 * @Author      : hxw
 * @Date        : 2024/7/20 9:02
 * @Describe    :
 */
@Parcelize
data class ShedIncomeAndExpenditureResponse(

    val inComeMoney: String,
    val outComeMoney: String,
    val profit: String,
    val yieldRate: String,
    val list: ArrayList<ShedAllDataList>

) : Parcelable {
    /**
     * 数据是否为空
     */
    fun isEmpty() = list == null || (list as List<*>).isEmpty()
}

@Parcelize
data class ShedAllDataList(
    val inComeMoney: String,
    val outComeMoney: String,
    val ringId: String,
) : Parcelable